<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta content='True' name='HandheldFriendly'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<jsp:include page="/public/header-meta.jsp"></jsp:include>
<title>添加论坛版块</title>
<body id="startbbs">
	<jsp:include page="/public/header.jsp"></jsp:include>
	<div id="wrap">
		<div class="container" id="page-main">
			<div class="row">
				<jsp:include page="Sleftbar.jsp"></jsp:include>
				<div class='col-xs-12 col-sm-6 col-md-8'>
					<div class='box'>
						<div class='box-header'>添加版块 ${message}</div>
						<div class='inner row'>
							<%--<div class='alert alert-info'></div>--%>
			<form accept-charset="UTF-8" action="admin!addSection"
				class="simple_form form-vertical" id="add_section" method="post"
				novalidate="novalidate">
				<s:token />
				<div class="form-group string required">

					<div class="col-sm-7">
						<label class="string required control-label" for="topic_title">版主</label>
						<select class="form-control" name="uid">
							<s:iterator var="user" value="users">
								<option value="${user.uid }">${user.uname }</option>
							</s:iterator>
						</select>
					</div>

					<div class="col-sm-7">
						<label class="string required control-label" for="topic_title">版块名</label>
						<input class="form-control" id="topic_title" maxlength="100"
							name="section.sname" size="60" type="text" value="" />
					</div>
					<div class="col-sm-7">
						<label class="string required control-label" for="topic_title">简介</label>
						<input class="form-control" id="topic_title" maxlength="100"
							name="section.sprofile" size="60" type="text" value="" />
					</div>
				</div>
				<div class="col-sm-9">
					<input class="btn btn-primary btn-inverse"
						data-disable-with="正在提交" name="commit" type="submit"
						value="添加" />
				</div>
			</form>
						</div>
					</div>
				</div>
				<div class='col-xs-12 col-sm-6 col-md-4' id='Rightbar'></div>
			</div>
		</div>
	</div>
	<jsp:include page="/public/footer.jsp"></jsp:include>